package com.techsoul.module.order.pojo.vo;

import com.techsoul.common.core.annotation.ExcelField;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 退货单明细 Vo
 *
 * @author liuen
 * @date 2020-12-07
 */
@Data
@Accessors(chain = true)
public class ReturnOrderItemVo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("ID（系统自动产生）")
    private String id;

    @ApiModelProperty("结算单号")
    @ExcelField(title = "结算单号", sort = 10)
    private String settlemetNo;
    // 南航新增字段--开始
    @ApiModelProperty("退款订单编号")
    @ExcelField(title = "退款订单编号", sort = 20)
    private String custReturnOrderItemNo;

    @ApiModelProperty("退款时间")
    @ExcelField(title = "退款时间", sort = 30)
    private String lastUpdDt;


    @ApiModelProperty("主订单编号")
    @ExcelField(title = "主订单编号", sort = 40)
    private String custSalesOrderNo;

    @ApiModelProperty("子订单编号")
    @ExcelField(title = "子订单编号", sort = 50)
    private String custSalesOrderItemNo;

    @ApiModelProperty("订单完成时间")
    @ExcelField(title = "订单完成时间", sort = 60)
    private String custSalesOrderCompleteTime;



    @ApiModelProperty("结算状态")
    @ExcelField(title = "结算状态", sort = 63)
    private String settleStatus;

    @ApiModelProperty("审核状态")
    @ExcelField(title = "审核状态", sort = 65)
    private String proveStatus;

    @ApiModelProperty("买家编号")
    @ExcelField(title = "买家编号", sort = 68)
    private String buyerCode;

    @ApiModelProperty("退款金额(现金)")
    @ExcelField(title = "退款金额(现金)", sort = 69)
    private String refundCash;

    @ApiModelProperty("退款金额(里程)")
    @ExcelField(title = "退款金额(里程)", sort = 70)
    private String refundMile;

    @ApiModelProperty("子订单商品单价(现金)")
    @ExcelField(title = "子订单商品单价(现金)", sort = 73)
    private String orderDetailSaleCashPrice;

    @ApiModelProperty("子订单商品单价(里程)")
    @ExcelField(title = "子订单商品单价(里程)", sort = 76)
    private String orderDetailSaleMilePrice;

    @ApiModelProperty("返还佣金(现金)")
    @ExcelField(title = "返还佣金(现金)", sort = 79)
    private String returnCommision;

    @ApiModelProperty("运费(现金)")
    @ExcelField(title = "运费(现金)", sort = 80)
    private String freightFee;

    @ApiModelProperty("运费(里程)")
    @ExcelField(title = "运费(里程)", sort = 81)
    private String freightFeeMile;

    @ApiModelProperty("优惠活动名称")
    @ExcelField(title = "优惠活动名称", sort = 83)
    private String discountActivityName;

    @ApiModelProperty("折扣活动编号")
    @ExcelField(title = "折扣活动编号", sort = 85)
    private String discountActivityCode;

    @ApiModelProperty("商家优惠满减现金")
    @ExcelField(title = "商家优惠满减现金", sort = 87)
    private String couponCashByAmt;

    @ApiModelProperty("商家优惠满减里程")
    @ExcelField(title = "商家优惠满减里程", sort = 89)
    private String couponMileByAmt;

    @ApiModelProperty("商家优惠直减现金")
    @ExcelField(title = "商家优惠直减现金", sort = 90) // 需处理
    private Double couponDiscount;

    @ApiModelProperty("商家优惠直减里程")
    @ExcelField(title = "商家优惠直减里程", sort = 91) // 需处理
    private Double mileageCouponDiscount;

    @ApiModelProperty("商家优惠活动编号")
    @ExcelField(title = "商家优惠活动编号", sort = 93) //
    private String couponDiscountId;

    @ApiModelProperty("商城优惠满减里程")
    @ExcelField(title = "商城优惠满减里程", sort = 94) //
    private Double mallCouponDiscountMileByAmt;

    @ApiModelProperty("商城优惠直减里程")
    @ExcelField(title = "商城优惠直减里程", sort = 95) //
    private Double mallCouponDiscountMile;

    @ApiModelProperty("商家优惠券券码")
    @ExcelField(title = "商家优惠券券码", sort = 96) //
    private String couponDiscountActCode;

    @ApiModelProperty("商城优惠券活动编号")
    @ExcelField(title = "商城优惠券活动编号", sort = 97) //
    private String mallCouponDiscountActId;



    @ApiModelProperty("商城优惠券券码")
    @ExcelField(title = "商城优惠券券码", sort = 98) //
    private Double mallCouponDiscountActCode;



    @ApiModelProperty("sku编号")
    @ExcelField(title = "客户sku编号", sort = 99) // 需要处理
    private String custSkuId;


    @ApiModelProperty("商品名称")
    @ExcelField(title = "客户sku编号", sort = 100) // 需要处理
    private String goodsName;


    @ApiModelProperty("客户SPU编号")
    @ExcelField(title = "商品编号", sort = 103) // 需要处理
    private String custSpuId;

    @ApiModelProperty("商品里程单价")
    @ExcelField(title = "商品里程单价", sort = 105)
    private String custSalesUnitMilePrice;

    @ApiModelProperty("商品现金单价")
    @ExcelField(title = "商品现金单价", sort = 108)
    private String custSalesUnitPrice;

    @ApiModelProperty("供货价(现金)")
    private Double money;

    @ApiModelProperty("采购价格单价")
    @ExcelField(title = "供货价(现金)", sort = 110) // 需要处理
    private Double  buyPrice;

    @ApiModelProperty("数量")
    @ExcelField(title = "数量", sort = 113)// 需要处理
    private Long qty;




    @ApiModelProperty("客户退款状态：1.待卖家审核、2. 拒绝退货、3.等待买家发货、4.待收货、7.退款中、6.退款成功、5.退款失败 8、卖家拒绝退款、9、收货拒绝退款、10、待平台审核、11、平台拒绝退款")
    private String custReturnOrderStatus;

    @ApiModelProperty("退货订单ID")
    private String returnOrderId;


    @ApiModelProperty("订单明细ID")
    private String salesOrderItemId;

    @ApiModelProperty("分类ID")
    private String categoryId;

    @ApiModelProperty("SPU_ID")
    private String spuId;

    @ApiModelProperty("SKU_ID")
    private String skuId;

    @ApiModelProperty("标题")
    private String title;

    @ApiModelProperty("单价")
    private Double price;

    @ApiModelProperty("重量")
    private Long weight;





    @ApiModelProperty("支付金额")
    private Double payMoney;

    @ApiModelProperty("图片地址")
    private String image;

    @ApiModelProperty("所属商户ID")
    private String storeId;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("是否有效（数据字典sys_yn_type，默认1-是）")
    private String isValid;

    @ApiModelProperty("创建人")
    private String createBy;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("更新人")
    private String updateBy;

    @ApiModelProperty("更新时间")
    private Date updateTime;

    @ApiModelProperty("创建人名称")
    private String createByName;

    @ApiModelProperty("更新人名称")
    private String updateByName;



    @ApiModelProperty("申请账户")
    private String buyerId;

    @ApiModelProperty("店铺名称")
    private String storeName;

    @ApiModelProperty("商品编号（SPU ID）")
    private String goodsId;




    @ApiModelProperty("订单总金额（里程）")
    private Double mileagePrice;

    @ApiModelProperty("订单总金额（现金）")
    private Double paymentPrice;



    @ApiModelProperty("收货人")
    private String consigneeName;

    @ApiModelProperty("申请日期")
    private String applyDt;



    @ApiModelProperty("是否有使用优惠券: 是/否")
    private String userOrNotCoupon;


    @ApiModelProperty("商城优惠券金额（里程）")
    private Double adminMileageCouponDiscount;



    // 南航新增字段--结束

    @ApiModelProperty("客户编码")
    private String customerNo;

    @ApiModelProperty("客户名称")
    private String  customerName;

    @ApiModelProperty("结算生成失败原因")
    private String genAccFailedReason;
    @ApiModelProperty("导入错误代码")
    private String errorCode;
    @ApiModelProperty("状态")
    private String status;

    @ApiModelProperty("报错信息")
    private String importErrorMesg;

    @ApiModelProperty("报错信息标识")
    private String errorFlag;

}
